/**
 * Copyright (C) 2025 ROKAE (Beijing) Technology Co., LTD.
 * All Rights Reserved.
 *
 * Information in this file is the intellectual property of Rokae Technology Co., Ltd,
 * And may contains trade secrets that must be stored and viewed confidentially.
 *
 * @file InspireRobotsPlugin.cpp
 * @brief 插件主流程
 */
#include "InspireRobotsPlugin.h"

/**
 * @brief 3：构造函数
 * 各个无依赖的插件的构造顺序未定义，如果插件A依赖插件B
 * 会保证A比B后加载
 */
InspireRobotsPlugin::InspireRobotsPlugin()
{
    LOG(INFO)<< "construct InspireRobotsPlugin launch";
}

/**
 * @brief 4：在此实现注册时候的逻辑，所有插件都执行完Init之后才会开始执行Start
 */
void InspireRobotsPlugin::Init() 
{
    LOG(INFO)<<"InspireRobotsPlugin launch init";
    //service
    ServiceProtocol();
}
/**
 * @brief 5：启动阶段
 */
void InspireRobotsPlugin::Start() 
{
    LOG(INFO) << "InspireRobotsPlugin launch Start";
}

/**
 * @brief 6：结束阶段，可在此按优先级顺序回收资源
 */
void InspireRobotsPlugin::Stop() 
{
    LOG(INFO)<< "InspireRobotsPlugin launch Stop";
}

/**
 * @brief 7:析构函数，析构时候顺序未定义，无论是否有依赖关系
 */
InspireRobotsPlugin::~InspireRobotsPlugin()
{
    LOG(INFO)<< "deconstruct InspireRobotsPlugin launch";
}
